Obey <Obey$Dir>.!Boot
WimpSlot -min 608k -max 608k
Set ARCterm7$Scrap <ARCterm7$Dir>.Scrap
|
| Check for SerialDev library
If "<SerialDev$Path>" = "" then set SerialDev$Path <ARCterm7$Dir>.
|
| Check for IRQutils presence/load it
RMensure IRQUtils 0.12 RMload <Obey$Dir>.IRQUtils
|
| Check for C library
RMensure SharedClibrary 3.75 RMload System:modules.Clib
RMensure SharedClibrary 3.75 Error 0 You need SharedClibrary 3.75 or later
|
| Check for ColourTrans
RMEnsure ColourTrans 0.52 RMLoad System:modules.Colours
RMEnsure ColourTrans 0.52 Error 0 You need ColourTrans 0.52 or later

|
| Check for RISC OS 3 and load correct mode/replay/buffer module
Set ARCterm$RISCOS3 yes
RMEnsure UtilityModule 2.02 Set ARCterm$RISCOS3 no
IF ARCterm$RISCOS3="yes" THEN RMensure ARCterm_7 1.18 RMload <Obey$Dir>.Utils/3
IF ARCterm$RISCOS3="no"  THEN RMensure ARCterm_7 1.18 RMload <Obey$Dir>.Utils
RMEnsure ARCterm_7 1.18 Error 0 Can't find ARCterm utils module!
|
| Blank out internal scrap directory (insert one file so wipe doesn't
|  produce an error!)
Echo Null { > <ARCterm7$Scrap>.KillMe }
Wipe <ARCterm7$Scrap>.* ~CF~R~V
|
Run <ARCterm7$Dir>.!RunImage %*0
